Problem Note 34885: RPTBATCH command might require a host domain with the user ID in the USERNAME option
The RPTBATCH command that calls the outputgen executable enables you to
specify a user ID and password on the command line.
Here is a sample command line for Windows:
C:\SAS\configdir\Lev1\ReportBatch\rptbatch.bat --spring-xml-file
file:C:\SAS\configdir\Lev1\Applications\SASBIReportServices4.2\spring.xml
--repository Foundation --username userid --password mypassword --source
"A5GEILYC.C700005B" --batch --metadata-key
"Report+omi://Foundation/reposname=Foundation/Transformation;id=A5GEILYC.B000005
2"
On some operating systems, you might be required to include a host domain name with the user ID. If the host domain name is required but it is not included in the USERNAME option, you might encounter an error similar to the following:
2009-02-11 13:10:42,315 [main] WARN []
com.sas.services.security.AuthenticationService - The Authentication Service has
already been configured.
2009-02-11 13:10:42,330 [main] WARN []
com.sas.services.information.InformationService - The Information Service has
already been configured.
2009-02-11 13:10:42,330 [main] WARN [] com.sas.services.user.UserService - The
User Service has already been configured.
2009-02-11 13:10:42,330 [main] WARN [] com.sas.services.session.SessionService
- The Session Service has already been configured.
2009-02-11 13:10:43,454 [main] ERROR [] com.sas.report.output.management - An
error occurred: Could not find metadata object with identifier:
A5GEILYC.C700005B.
java.lang.IllegalStateException: Could not find metadata object with identifier:
A5GEILYC.C700005B.
To avoid this error, include the host domain name with the user ID. The syntax would be similar to hostdomain\userid
.
Operating System and Release Information
SAS System | SAS Web Report Studio | z/OS | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Microsoft® Windows® for x64 | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Windows Vista | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
64-bit Enabled AIX | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
64-bit Enabled Solaris | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
HP-UX IPF | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Linux | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Linux for x64 | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
Solaris for x64 | 4.2 | 4.2_M1 | 9.2 TS2M0 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Topic: | Query and Reporting ==> Interactive Querying Query and Reporting
|
Date Modified: | 2009-08-25 09:09:10 |
Date Created: | 2009-02-19 15:28:44 |